package com.zhouheng.springbootjpa.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.util.List;

@Data
public class ForecastScore {

    @Id
    private String id;

    private List<ForecastScoreDetail> scoreList;

    private String timeTag;

    public ForecastScore() {
    }

    public ForecastScore(List<ForecastScoreDetail> scoreList, String timeTag) {
        this.scoreList = scoreList;
        this.timeTag = timeTag;
    }
}
